import {
    get,
    post,
    DELETE,
    PUT
} from './http'
import qs from 'qs'

export function bbsCategorys(data) {
    return get('/bbsCategorys', data)
}

export function visitor(data) {
    return post('/wxapp/visitor', data)
}

export function topics(data) {
    return get('/topics', data)
}

export function topicDetail(data) {
    return get('topic/detail', data)
}

export function topicFabu(data) {
    return post('topic/fabu', data)
}

export function topicDetailByLogin(data) {
    return get('topic/detailByLogin', data)
}

export function collect(data) {
    return post('user/collect', data)
}

export function cancelCollect(data) {
    return post('user/cancelCollect', data)
}

export function userinfo(data) {
    return get('/userinfo', data)
}

export function otherUserinfo(data) {
    return get('/otherUserinfo', data)
}
export function otherUserinfoByLogin(data) {
    return get('/otherUserinfoByLogin', data)
}

export function topicReply(data) {
    return post('/topic/reply', data)
}

export function replys(data) {
    return get('/replys', data)
}

export function myTopics(data) {
    return get('/myTopics', data)
}

export function followList(data) {
    return get('/user/followList', data)
}

export function follow(data) {
    return get('/user/follow', data)
}

export function cancelFollow(data) {
    return get('/user/cancelFollow', data)
}

export function topicsByLogin(data) {
    return get('/topicsByLogin', data)
}

export function herTopics(data) {
    return get('/herTopics', data)
}

export function userEdit(data) {
    return post('/user/edit', data)
}

